package com.rsglxt.server;

import java.util.List;

import com.entity.DlyhDAO;

public class LoginServer {
	DlyhDAO dao;

	public DlyhDAO getDao() {
		return dao;
	}

	public void setDao(DlyhDAO dao) {
		this.dao = dao;
	}

	/**
	 * 验证用户是否存在
	 * @param dlyhmc
	 * @param dlyhmm
	 * @return
	 */
	public boolean checkdlyh(String dlyhmc ,String dlyhmm)
	{
		return dao.checkdlyh(dlyhmc, dlyhmm);
	}
	/**
	 * 根据用户名和密码获得用户的详细信息
	 */
	public List getdlyh(String dlyhmc,String dlyhmm)
	{
		return dao.getdlyh(dlyhmc,dlyhmm);
	}
	
	
}
